window.onload=function(){
 function kb1(options){
        var e = options.kb1,
            setCss=function(th,csso){
                if(!th||th.nodeType===3||th.nodeType===8||!th.style){
                    return;
                }
                for(var cs in csso){
                    th.style[cs]=csso[cs];
                }
                return th;
            };
        setCss(e,{
            "position":"absolute",
            "zIndex":100,
            "top":((document.body.scrollTop||document.documentElement.scrollTop)+window.screen.availHeight/2- e.offsetHeight)+"px",
            "backgroundColor":"#BEDF3"
        });
        options.kbo1.onclick=function(){
            e.style.display="block";
            setCss(e,{
                "left":"80%",
                "marginLeft":-e.offsetWidth/2+"px",
				"marginTop":"12%",
                "top":document.body.scrollTop+"px"
            });
        }
        options.k2.onclick=function(){
            e.style.display="none";
        }

    }
    kb1({
            "kb1":document.getElementById("kb1"),
        "kbo1" : document.getElementById("kbo1"),
        "k2" :document.getElementById("k2"),

});
};